package cn.edu.scau.cmi.liujiaming.chapter06;

public class Student extends People{
	int number;
	double add(double a,double b) {
		return a+b;
	}
	
	public double area(Geometry ...p) {
		double sum=0;
		for(Geometry temp:p) {
			sum+=temp.getArea();
		}
		return sum;
	}

}
